package cn.fivestars.springcloud.stream.kafka;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author liangchenzhou1024@163.com
 * @date 2021/3/16
 */
public interface OutputBinder {
    /**
     * NAME
     */
    String NAME = "example-topic";

    /**
     * Output message channel
     *
     * @return the message channel
     */
    @Output(NAME)
    MessageChannel output();
}
